QT -= gui
QT += core

TEMPLATE = lib
DEFINES += CLIENT7Z_LIBRARY

CONFIG += c++17
LIBS += -L$$PWD/lib -lOleAut32 -lUser32

#LIBS += -L$$PWD/lib -l7z -luser32 -loleaut32
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    client7z.cpp \
    $$PWD/../../../Windows\DLL.cpp \
    $$PWD/../../../Windows\FileDir.cpp \
    $$PWD/../../../Windows\FileFind.cpp \
    $$PWD/../../../Windows\FileIO.cpp \
    $$PWD/../../../Windows\FileName.cpp \
    $$PWD/../../../Windows\PropVariant.cpp \
    $$PWD/../../../Windows\PropVariantConv.cpp \
    $$PWD/../../../Common\IntToString.cpp \
    $$PWD/../../../Common\MyString.cpp \
    $$PWD/../../../Common\MyVector.cpp \
    $$PWD/../../../Common\NewHandler.cpp \
    $$PWD/../../../Common\StringConvert.cpp \
    $$PWD/../../Common/FileStreams.cpp

HEADERS += \
    Client7z_global.h \
    $$PWD/client7z.h \
    $$PWD/../../../Common/MyWindows.h \
    $$PWD/../../../Common/MyInitGuid.h \
    $$PWD/../../../Common/Defs.h \
    $$PWD/../../../Common/IntToString.h \
    $$PWD/../../../Common/StringConvert.h \
    $$PWD/../../../Common\MyBuffer.h \
    $$PWD/../../../Common\MyCom.h \
    $$PWD/../../../Common\MyInitGuid.h \
    $$PWD/../../../Common\MyLinux.h \
    $$PWD/../../../Common\MyString.h \
    $$PWD/../../../Common\MyTypes.h \
    $$PWD/../../../Common\MyVector.h \
    $$PWD/../../../Common\NewHandler.h \
    $$PWD/../../../Common\Wildcard.h \
    $$PWD/../../../Windows/DLL.h \
    $$PWD/../../../Windows/FileDir.h \
    $$PWD/../../../Windows/FileFind.h \
    $$PWD/../../../Windows\FileIO.cpp \
    $$PWD/../../../Windows/FileName.h \
    $$PWD/../../../Windows/NtCheck.h \
    $$PWD/../../../Windows/PropVariant.h \
    $$PWD/../../../Windows/PropVariantConv.h \
    $$PWD/../../Common/FileStreams.h \
    $$PWD/../../Archive/IArchive.h \
    $$PWD/../../../../C/7zVersion.h \
    $$PWD/../../PropID.h \
    $$PWD/../../../Common/Common.h \
    $$PWD/../../../Windows/TimeUtils.h \
    $$PWD/../../Common\FileStreams.h \
    $$PWD/../../Common\UniqBlocks.h \
    $$PWD/../../../../C/7zTypes.h \
    $$PWD../../../../C/7zVersion.h \
    $$PWD../../../../C/7zWindows.h \
    $$PWD../../../../C/Compiler.h \
    $$PWD../../../../C/CpuArch.h \
    $$PWD../../IDecl.h \
    $$PWD../../IPassword.h \
    $$PWD../../IProgress.h









# Default rules for deployment.
unix {
    target.path = /usr/lib
}
!isEmpty(target.path): INSTALLS += target
